package org.dcits.service;

import java.util.List;

import org.dcits.mapper.ApplyCardMapper;
import org.dcits.model.ApplyCard;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class ApplyCardService {

	@Autowired
	private ApplyCardMapper applyCardMapper;
	
	public List<ApplyCard> findAll() {
		return applyCardMapper.findAll();
	}

	public List<ApplyCard> changeShi(Integer citys) {
		
		return applyCardMapper.changeShi(citys);
	}

	public List<ApplyCard> userMsg(int userId) {
		return applyCardMapper.userMsg(userId);
	}

	public boolean insertCard(String guid, String pwd, int userId) {
		return applyCardMapper.insertCard(guid,pwd,userId);
	}
	
}
